/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package quizzempire.model.statemachine;

import quizzempire.model.Model;
import quizzempire.model.Quizz;

/**
 *
 * @author Paulo
 */
public class AwaitsInstruction extends State {

    public AwaitsInstruction(Model modelo) {
        super(modelo);
    }
    
    @Override
    public State startGame()
    {
        modelo.setChanges();
        return new PrepareGame(modelo);
    }

    @Override
    public State createQuizz() {
        modelo.setActiveQuizz(new Quizz());
        modelo.setChanges();
        return new QuizzConfiguration(modelo);
    }

    @Override
    public State editQuizz() {
        modelo.setChanges();
        return new SelectQuizzEdit(modelo); 
    }
    
    
    
    
    
}
